import request from "../request";

/**
 * 
 * @returns 获取左侧榜单列表
 */
export function getTabList() {
  return request({
    url: "/toplist"
  })
};

/**
 * 
 * @param {*} id 左侧榜单id 
 * @returns 
 */
export function getRankingList(id) {
  return request({
    url: "/playlist/detail",
    params: {
      id
    }
  })
}